php forum
php mysql forum
php mysql smarty
 
Page 1 of 5 1 2 3 4 5 >
Topic Options
#232944 - 01/12/03 06:31 PM [6.2] Popup Graemlin Panel
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
Mod Name / Version - GraemlinPanel 6.2 <br /> Updated: Bug fixed to fix the issue of the "More >>>" appearing way below the other graemlins. <br />Description - Allows you to limit the number of graemlins displayed and click "more" for <br />a pop-up to select additional graemlins. <br />Pre-requisites - none <br />Author - JustDave - for discussions and bug reports come to www.threadsdev.com <br />Credits - JoshPet, AllenAyers & Astaran for bug fixes <br />Files Altered - admin/edittheme.php, admin/doedittheme.php, /languages/instant_markup.php, /templates/default/ubbt_instant_ubbcode.tmpl, ubbt.inc.php <br />Database Altered - no <br />New Files - graemlinpanel.php <br />Any other info - Essential to keep page load times down and your layout clean if you have lots of graemlins <br /> <br />If you have to many instant graemlins you can use this to limit the number displayed on the page and provide a link to open a popup window to display all of them. <br /> <br />The zip and instructions are attached. Enjoy <img src="/forum/images/graemlins/smile.gif" alt="" /> <br /> <br /> <br /> <br />Edit note: Updated javascript to work on a Mac. (01/13/2003) <br /> <br />Edit note: Updated javascript to work on a Mac. (again) <img src="/forum/images/graemlins/grin.gif" alt="" /> Thanks Allen/Josh (01/14/2003) <br /> <br />Edit note: Updated javascript with Astaran's changes. Seems to be working well on Opera 7.0, Netscape 7.0, Mozilla 1.2, IE 6.0 and on a Mac with what ever it was that Josh was using... lol <img src="/forum/images/graemlins/wink.gif" alt="" /> (01/19/2003) <br /> <br />Edit note: Updated the zip to fix an issue where the "More>>>" appeared way below the other graemlins. The more graemlins you had, the further below the other graemlins it appeared. - JoshPet (4/7/2003) <br /> <br />Also fixed minor display bug. Read through this thread for the fix or download this zip and follow the instructions again and change what's different. <img src="/forum/images/graemlins/smile.gif" alt="" />


Attachments
64685-graemlinpanel.6.2.zip (181 downloads)



Edited by JoshPet (04/07/03 03:13 PM)
_________________________
~Dave
ChattersOnline.com

Top
#232945 - 01/12/03 08:04 PM Re: [6.2] Popup Graemlin Panel [Re: sjsaunders]
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
oooohhh nice <img src="/forum/images/graemlins/laugh.gif" alt="" />
_________________________
- Allen wavey
- What Drives You?

Top
#232946 - 01/12/03 09:24 PM Re: [6.2] Popup Graemlin Panel [Re: SurfMinister]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
This is cool. <br /><br />But - it doesn't work for me here either in IE or OmniWeb. No popup ever opens. <img src="/forum/images/graemlins/confused.gif" alt="" /><br /><br />I didn't try installing myself, but does it work for everyone else here? Is this a PC only trick. A popup window ought to be compatible with mac?
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#232947 - 01/13/03 12:12 AM Re: [6.2] Popup Graemlin Panel [Re: sjsaunders]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
I have a request -as if you don't already have enough on your plate <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />I would like to kill off the font color selection box and turn both the Graemlins and the instant ubb code into popup windows. It would really make redesigning the post windows easier since I think they both take up way too much space.<br /><br />Would you do the mod?
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232948 - 01/13/03 06:16 AM Re: [6.2] Popup Graemlin Panel [Re: jacksonm99]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
I'll put that together sometime today. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
~Dave
ChattersOnline.com

Top
#232949 - 01/13/03 06:23 AM Re: [6.2] Popup Graemlin Panel [Re: Daine]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
Josh that may be because I put that "if" statement in the onclick field. I know older netscape browsers have problems with that. The mac browsers may have the same problems. I'll add a function to the instant ubb template that will do the window opening and make the link reference that instead of trying to do it all from the link. That should make it work for you. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
~Dave
ChattersOnline.com

Top
#232950 - 01/13/03 06:25 AM Re: [6.2] Popup Graemlin Panel [Re: sjsaunders]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
[]I'll put that together sometime today. <img src="/forum/images/graemlins/smile.gif" alt="" /> [/]<br /><br /> <img src="/forum/images/graemlins/cool.gif" alt="" /> !! <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232951 - 01/13/03 06:56 AM Re: [6.2] Popup Graemlin Panel [Re: Daine]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
Josh I changed a couple things with the javascript. Let me know if it's working with a Mac here at ThreadsDev. If it does I'll change the instructions on setting this up. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
~Dave
ChattersOnline.com

Top
#232952 - 01/13/03 10:06 AM Re: [6.2] Popup Graemlin Panel [Re: sjsaunders]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
<img src="/forum/images/graemlins/blush.gif" alt="" /> <img src="/forum/images/graemlins/smirk.gif" alt="" /><br /><br />Yuppers. <br /><br />That did it. <br /><br />You da man! <img src="/forum/images/graemlins/grin.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#232953 - 01/13/03 10:07 AM Re: [6.2] Popup Graemlin Panel [Re: Daine]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
Ok great! <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />I'll update the "how to" stuff in a moment. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
~Dave
ChattersOnline.com

Top
#232954 - 01/13/03 10:22 AM Re: [6.2] Popup Graemlin Panel [Re: sjsaunders]
Charles Offline
Veteran

Registered: 10/22/00
Posts: 2637
Loc: London, UK
you "killed" the panel generator link <img src="/forum/images/graemlins/wink.gif" alt="" /> <img src="/forum/images/graemlins/tongue.gif" alt="" />
_________________________
Do you believe in love at first sight,
or should I walk by again?

Top
#232955 - 01/13/03 11:02 AM Re: [6.2] Popup Graemlin Panel [Re: egor]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
Ack.. sorry <img src="/forum/images/graemlins/crazy.gif" alt="" /><br /><br />What is the link? I'll add it back if you haven't already. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
~Dave
ChattersOnline.com

Top
#232956 - 01/13/03 12:30 PM Re: [6.2] Popup Graemlin Panel [Re: sjsaunders]
Charles Offline
Veteran

Registered: 10/22/00
Posts: 2637
Loc: London, UK
its in ubbt.inc + the ubbcode template just need to add $showpanelgenerator<br /><br />but it should be ok now <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Do you believe in love at first sight,
or should I walk by again?

Top
#232957 - 01/13/03 02:42 PM Re: [6.2] Popup Graemlin Panel [Re: sjsaunders]
Ian_W Offline

Veteran

Registered: 02/22/02
Posts: 2575
Loc: England
Nice one Dave - thanks.
_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)

Top
#232958 - 01/13/03 10:55 PM Re: [6.2] Popup Graemlin Panel [Re: sjsaunders]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
[]Ok great! <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />I'll update the "how to" stuff in a moment. <img src="/forum/images/graemlins/smile.gif" alt="" /> [/]<br /><br />Not sure if you updated the instructions yet.<br /><br />I installed this, and it's not working for me.<br /><br />Also... my "More" link, ends up way down (not right below the graemlins).<br /><br />I can't figure that out.... it's like it's looping throught the $graemlinlist .= "<br />"; step.<br /><br />You can see what I'm talking about here.<br /><br />I wonder if it's because I've got so many graemlins. <img src="/forum/images/graemlins/confused.gif" alt="" /><br /><br />Anyway, this is awesome. Let me know if I need to update something to work with mac like you did here.
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#232959 - 01/13/03 11:14 PM Re: [6.2] Popup Graemlin Panel [Re: Daine]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
Hmmmm I may have broke something while fixing it for a Mac. <img src="/forum/images/graemlins/crazy.gif" alt="" /><br /><br />I'll take a look and see.
_________________________
~Dave
ChattersOnline.com

Top
#232960 - 01/13/03 11:18 PM Re: [6.2] Popup Graemlin Panel [Re: Daine]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
I see the problem. I'll post the fix in the morn. I'm headed to bed right now. <img src="/forum/images/graemlins/smile.gif" alt="" /> <br /> <br /> <br />Well skip that.. here's the fix: <br /> <br />change this: <br /> <br />
Code:
 <br />				if ($i==6) { <br />					$i=0; <br />					$graemlinlist .= "&lt;br /&gt;"; <br />				} <br />
<br /> <br />to this: <br /> <br />
Code:
 <br />				if (($i==6) &amp;&amp; ($gnum &lt; $theme['max_graemlins'])) { <br />					$i=0; <br />					$graemlinlist .= "&lt;br /&gt;"; <br />				} <br />
<br /> <br />Night! <img src="/forum/images/graemlins/smile.gif" alt="" />


Edited by JustDave (01/13/03 11:20 PM)
_________________________
~Dave
ChattersOnline.com

Top
#232961 - 01/13/03 11:21 PM Re: [6.2] Popup Graemlin Panel [Re: sjsaunders]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
*bump*<br /><br />Fixed. <img src="/forum/images/graemlins/wink.gif" alt="" />
_________________________
~Dave
ChattersOnline.com

Top
#232962 - 01/14/03 12:22 AM Re: [6.2] Popup Graemlin Panel [Re: sjsaunders]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Thanks Dave, that fixed the line break problem.<br /><br />The graemlins still weren't working for me on mac. So with Allen's help, I compare the graemlinpanel.php in use here with mine.<br /><br />To make it work with mac.... these three lines have to come out of graemlinpanel.php<br />
Code:
<br />function void() {<br />return;<br />}<br />
<br /><br />This mod is cool. <img src="/forum/images/graemlins/cool.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#232963 - 01/14/03 12:52 AM Re: [6.2] Popup Graemlin Panel [Re: Daine]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
I can't sleep. To much real world junk on my mind... LoL<br /><br />I'll update the zip right now. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
~Dave
ChattersOnline.com

Top
#232964 - 01/14/03 12:55 AM Re: [6.2] Popup Graemlin Panel [Re: Daine]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
You know I had wondered about that function when I added it in. Guess I should have gone with my first route of not doing so... lol
_________________________
~Dave
ChattersOnline.com

Top
#232965 - 01/14/03 01:23 AM Re: [6.2] Popup Graemlin Panel [Re: sjsaunders]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Without it, there doesn't seem to be a difference. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#232966 - 01/14/03 01:31 AM Re: [6.2] Popup Graemlin Panel [Re: Daine]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
I haven't added the change here for live yet... have you tested it elsewhere or is it just not working here?<br /><br />I'll make the change shortly <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
~Dave
ChattersOnline.com

Top
#232967 - 01/14/03 01:36 AM Re: [6.2] Popup Graemlin Panel [Re: sjsaunders]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
No it was working here.... but when I downloaded your zip.... the file had those three lines, so it didn't work at my site.<br /><br />So it works fine here, now it works fine at my site since making that change. <br /><br />It's live at my site. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#232968 - 01/14/03 01:40 AM Re: [6.2] Popup Graemlin Panel [Re: Daine]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
Ahh ok well good. (*sigh of relief*) lol <img src="/forum/images/graemlins/wink.gif" alt="" /><br /><br />Then we are all on the same page now. Cool. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
~Dave
ChattersOnline.com

Top
#232969 - 01/14/03 01:42 AM Re: [6.2] Popup Graemlin Panel [Re: sjsaunders]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Yeah..... you should take those 3 lines out of the zip (for mac users everywhere) if you haven't already. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#232970 - 01/14/03 01:43 AM Re: [6.2] Popup Graemlin Panel [Re: Daine]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
yep, done. <img src="/forum/images/graemlins/wink.gif" alt="" />
_________________________
~Dave
ChattersOnline.com

Top
#232971 - 01/14/03 01:59 AM Re: [6.2] Popup Graemlin Panel [Re: sjsaunders]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
<img src="/forum/images/graemlins/cool.gif" alt="" /> !<br /><br />I'll have to try this one on my site (I have a few Mac users, so I was waiting for the fix as well).
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232972 - 01/14/03 02:17 AM Re: [6.2] Popup Graemlin Panel [Re: jacksonm99]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
This will also be included in an upcoming soon to be released upgrade to "quick reply". <img src="/forum/images/graemlins/smile.gif" alt="" /><br />Testing now, will probably post an update later in the week. <img src="/forum/images/graemlins/wink.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#232973 - 01/14/03 02:24 AM Re: [6.2] Popup Graemlin Panel [Re: jacksonm99]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
LoL yes don't want to get a Mac user wound up... Here's a excerpt from an article I read recently. I find it to be very true... LoL<br /><br />[]<br />APPLE USERS TEND to be much more articulate and thoughtful in their flame mail than the typical PC user. Maybe it's that creative aura at work. They also tend to use their real names and e-mail addresses rather than hiding behind some bogus alias on Hotmail, so it's easier to give them credit for forthrightness and honesty.[/]<br /><br />[]<br />Apple's next commercial should be "I won't give up my Mac until they pry my cold, dead fingers off the keyboard". Just try to get a Mac user to switch to a PC and hear the howling. Macs show up in television and movies in grotesque unbalanced proportions to their actual usage in the real world.[/]<br /><br />LoL the full article is here: http://www.theinquirer.net/?article=7166
_________________________
~Dave
ChattersOnline.com

Top
#232974 - 01/14/03 03:28 AM Re: [6.2] Popup Graemlin Panel [Re: sjsaunders]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
First, there is this article at Ars Technica.<br /><br />In the first paragraph the word "gay" is a hyperlink to a thread in the Ars forum. Read the whole thread:<br /><br />Warning: Do Not drink anything while reading the article and especially while reading the thread. Your keyboard and or monitor will thank you...
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232975 - 01/14/03 03:52 AM Re: [6.2] Popup Graemlin Panel [Re: sjsaunders]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
Now back to our regularly schedualed thread topic... <img src="/forum/images/graemlins/wink.gif" alt="" /><br /><br />Any chance of making a pop up for instant UBB code (please!)? <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232976 - 01/14/03 03:59 AM Re: [6.2] Popup Graemlin Panel [Re: jacksonm99]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
Yes and asap. <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />I was working on it some earlier. I'll be including a font color selector like the attachment. <img src="/forum/images/graemlins/smile.gif" alt="" /> (image maps are a pain)


Attachments
64963-colorpanel.gif (32 downloads)

_________________________
~Dave
ChattersOnline.com

Top
#232977 - 01/14/03 05:15 AM Re: [6.2] Popup Graemlin Panel [Re: sjsaunders]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
Thanks! <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232978 - 01/16/03 01:20 PM Re: [6.2] Popup Graemlin Panel [Re: sjsaunders]
Astaran Offline
Addict

Registered: 12/21/00
Posts: 1545
Loc: Germany
I took a look at the javascripts and changed them a bit. If you use IE4+ the graemlins gets insert at the current caret. I just tweaked the existing script from threads to work with the popup. <br />I also enhanced the popup script to that you can define where it should be displayed on the screen (depending on the screen resolution. <br /> <br />Instructions: <br />ubbt_instant_ubbcode.tmpl <br />replace the function that shipped with this hack with: <br /> [:"blue"] <br />myHeight --> window height <br />myWidth --> window width <br />adjust the values "+100" and "+50" to move the relative position of the windos (x and y axis). <br />[/] <br /> <br />
Code:
function openGraemlinPanel() { <br />    var myHeight = 400; <br />    var myWidth = 300; <br />	var myLeft = ((screen.width-myWidth)/2)+100; <br />	var myTop = ((screen.height-myHeight)/2) +50; <br />	graemlinWindow = window.open('{$config['phpurl']}/graemlinpanel.php','graemlinpanel','width='+myWidth+',height='+myHeight+',scrollbars=yes,resizable=yes,left='+myLeft+',top='+myTop); <br />    if (graemlinWindow.opener == null) graemlinWindow.opener = self; <br />    graemlinWindow.focus(); <br />} <br /> <br />function DoPopupSmilie(addSmilie) { <br /> <br />	insertAtCaret(document.replier.Body, ' '+ addSmilie + ' ' ); <br />	document.replier.Body.focus(); <br />	return; <br /> <br />}  
<br /> <br />graemlinpanel.php <br /> <br />replace the existing updatePost Javascript function with: <br />
Code:
function updatePost(GraemlinCode) { <br /> <br />window.opener.DoPopupSmilie(GraemlinCode); <br />}  
<br /> <br />I can't test this on a mac, so any feedback is appreciated. <img src="/forum/images/graemlins/smile.gif" alt="" />


Edited by Astaran (01/16/03 01:30 PM)
_________________________
Running a community? -> Keep informed and take it to the next level

Top
#232979 - 01/17/03 08:32 PM Re: [6.2] Popup Graemlin Panel [Re: -Fusion-]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
Thanks Astaran! <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />I was going to get back to working on allowing for the insertion anywhere by IE. I just couldn't get it working right when I was messing with it. LoL <img src="/forum/images/graemlins/crazy.gif" alt="" /><br /><br />Mac's insert at the end of the text.<br /><br />I'll add your code into the mod if you don't mind and test it with Opera/Mozilla/Netscape/Explorer and see what happens. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
~Dave
ChattersOnline.com

Top
#232980 - 01/17/03 09:47 PM Re: [6.2] Popup Graemlin Panel [Re: sjsaunders]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Yeah, macs always insert at the end. I don't think there's any way around that. But I've gotten used to it. <img src="/forum/images/graemlins/wink.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#232981 - 01/18/03 03:24 AM Re: [6.2] Popup Graemlin Panel [Re: sjsaunders]
Lisa_P Offline
Enthusiast

Registered: 03/09/02
Posts: 329
Loc: Michigan, USA
Thank you very much Dave <img src="/forum/images/graemlins/smile.gif" alt="" /> And Astaran as well! It works great, Astaran's changes worked great as well, using IE 6, Netscape 7.
_________________________
[:"red"]Lisa[/]

Top
#232982 - 01/18/03 06:57 AM Re: [6.2] Popup Graemlin Panel [Re: sjsaunders]
Astaran Offline
Addict

Registered: 12/21/00
Posts: 1545
Loc: Germany
Sure, put it in. <img src="/forum/images/graemlins/smile.gif" alt="" /><br />Putting smilies/text at the current carret doesn't work on all browsers cause this isn't "standard" javascript.<br />Unfortunatly there is no way to make this work on all browsers. It should be insterted at the end of the textfield if the functions aren't supported.
_________________________
Running a community? -> Keep informed and take it to the next level

Top
#232983 - 01/19/03 10:23 AM Re: [6.2] Popup Graemlin Panel [Re: Daine]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
Josh I added Astaran's changes here. Would you confirm that a Mac can still use the popup panel although it may not be the same as when used with a PC. If your still able to use the popup graemlin panel then I'll get these into the main zip. <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />Thanks again Astaran <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
~Dave
ChattersOnline.com

Top
#232984 - 01/19/03 02:22 PM Re: [6.2] Popup Graemlin Panel [Re: sjsaunders]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
<img src="/forum/images/graemlins/cool.gif" alt="" /> <img src="/forum/images/graemlins/blush.gif" alt="" /> <br /><br />Works for me! <img src="/forum/images/graemlins/grin.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#232985 - 01/19/03 02:22 PM Re: [6.2] Popup Graemlin Panel [Re: Daine]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
Cool! <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />I'll append the zip shortly. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
~Dave
ChattersOnline.com

Top
#232986 - 01/19/03 02:42 PM Re: [6.2] Popup Graemlin Panel [Re: sjsaunders]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
*bump*<br /><br />Updated with Astaran's javascript changes. <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />Seems to be working well with Opera 7.0, Netscape 7.0, Mozilla 1.2, IE 6.0 and on a Mac with what ever it was Josh was using... <img src="/forum/images/graemlins/tongue.gif" alt="" />
_________________________
~Dave
ChattersOnline.com

Top
#232987 - 01/19/03 04:16 PM Re: [6.2] Popup Graemlin Panel [Re: sjsaunders]
dimopoulos Offline
Kahuna

Registered: 08/18/02
Posts: 1271
Loc: Vienna, Austria
It works like a charm.<br /><br />Thanks Dave, Astaran and all who were involved.<br /><br />Warm regards<br /><br />Nikos
_________________________
Nikos

Top
#232988 - 01/19/03 08:53 PM Re: [6.2] Popup Graemlin Panel [Re: Hal_dup2]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Works on the Mac using IE, Netscape, OmniWeb and Safari (which I think is pretty much Opera). Seems to cover all bases for us mac users. <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />Thank you. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#232989 - 01/25/03 06:11 PM Re: [6.2] Popup Graemlin Panel [Re: sjsaunders]
Storm_dup1 Offline
Member

Registered: 08/03/02
Posts: 263
Loc: Somewhere above Texas
Finally installed this one with 6.2.1 Dave..... It's GREAT!!!!! Dunno why this one isn't standard but THANKS man!! <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Some people read their stars..... I choose to write my own

Top
#232990 - 02/01/03 09:32 AM Re: [6.2] Popup Graemlin Panel [Re: sjsaunders]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
Installed, and the table in the popup window draws with my graphics wrapper and no errors <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />Excellent work Dave! <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232991 - 02/08/03 09:18 AM Re: [6.2] Popup Graemlin Panel [Re: Daine]
smilesforu Offline
Junior Member

Registered: 01/31/02
Posts: 676
got it working on my site... thanks

Top
#232992 - 02/08/03 10:47 AM Re: [6.2] Popup Graemlin Panel [Re: Kelly]
caymuc Offline
Enthusiast

Registered: 01/17/01
Posts: 449
Works great!!!!!! - Thank you <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />(Maybe a close button for that popup window would be a nice extra?)<br />
_________________________
Carl
Colour-Ize-Forums (test entry: user: 'test' pw: 'test2')

Top
#232993 - 02/08/03 11:41 PM Re: [6.2] Popup Graemlin Panel [Re: rodrigo1]
Lisa_P Offline
Enthusiast

Registered: 03/09/02
Posts: 329
Loc: Michigan, USA
[](Maybe a close button for that popup window would be a nice extra?)<br /> [/]<br /><br />In graemlinpanel.php find:<br /><br />
Code:
<br />$graemlinpanel<br />$tbclose<br /><br /><br />&lt;/body&gt;<br />&lt;/html&gt;<br />
<br /><br />Change to:<br /><br />
Code:
<br />$graemlinpanel<br />$tbclose<br />&lt;br&gt;&lt;div align="center"&gt;<br />&lt;input type="button" value="{$ubbt_lang['CLOSE_WINDOW']}" onClick="self.close()" class="buttons"&gt;<br />&lt;/div&gt;<br /><br />&lt;/body&gt;<br />&lt;/html&gt;<br />
<br /><br />Then add this:<br /><br />
Code:
$ubbt_lang['CLOSE_WINDOW'] = "Close Window";
<br /><br />to your instant_markup.php language files.
_________________________
[:"red"]Lisa[/]

Top
#232994 - 02/09/03 12:11 AM Re: [6.2] Popup Graemlin Panel [Re: rodrigo1]
Lisa_P Offline
Enthusiast

Registered: 03/09/02
Posts: 329
Loc: Michigan, USA
Of course you could use just a link as well<br /><br /><br><div align="center"><a href="javascript:self.close();" class="tdheader">{$ubbt_lang['CLOSE_WINDOW']}</a></div><br />
_________________________
[:"red"]Lisa[/]

Top
#232995 - 02/11/03 12:02 PM Re: [6.2] Popup Graemlin Panel [Re: JacquiL]
caymuc Offline
Enthusiast

Registered: 01/17/01
Posts: 449
Many thanks, Lisa, for this little but nice add-on <br />to that extemely cool hack.<br /><br />Whow, what a great thing for my users.
_________________________
Carl
Colour-Ize-Forums (test entry: user: 'test' pw: 'test2')

Top
#232996 - 02/11/03 10:00 PM Re: [6.2] Popup Graemlin Panel [Re: rodrigo1]
smilesforu Offline
Junior Member

Registered: 01/31/02
Posts: 676
Thanks lisa nice addition

Top
#232997 - 02/26/03 02:23 PM Re: [6.2] Popup Graemlin Panel [Re: JacquiL]
abbood Offline
Newbie

Registered: 04/06/02
Posts: 17
Hi ,<br /><br />Thanks for the great hack...am running 6.2.2...I did everything I could not test it..coz the link wont appear near the grems...<br /><br />Help<br /><br />Thanks <img src="/forum/images/graemlins/grin.gif" alt="" />

Top
#232998 - 03/04/03 09:23 AM Re: [6.2] Popup Graemlin Panel [Re: dude_demon]
yors Offline
Member

Registered: 10/09/01
Posts: 152
A silly question -- is this one of those hacks which will work with 6.1.x too?
_________________________
Yors Truly

Who? Me? Worry?

Top
#232999 - 03/04/03 01:22 PM Re: [6.2] Popup Graemlin Panel [Re: dude_demon]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
How many Graemlins do you have, and how many are you allowing to display before the Graemlin panel link appears (you can set it in the theme section of the admin menu)?<br /><br />If you set the number of Graemlins to display to be equal to or higher than the number of Graemlins that you have the link will not show...
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#233000 - 03/14/03 06:35 AM Re: [6.2] Popup Graemlin Panel [Re: jacksonm99]
abbood Offline
Newbie

Registered: 04/06/02
Posts: 17
[]Dalantech said:<br />How many Graemlins do you have, and how many are you allowing to display before the Graemlin panel link appears (you can set it in the theme section of the admin menu)?<br /><br />If you set the number of Graemlins to display to be equal to or higher than the number of Graemlins that you have the link will not show... [/]<br /><br />Thank you for answering....how can I set the number of Greamlins?<br /><br />Thanks

Top
#233001 - 03/14/03 10:13 AM Re: [6.2] Popup Graemlin Panel [Re: dude_demon]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
You can set it in the theme section of the admin menu if you did everything for the hack.
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#233002 - 03/15/03 11:08 AM Re: [6.2] Popup Graemlin Panel [Re: jacksonm99]
abbood Offline
Newbie

Registered: 04/06/02
Posts: 17
Thanks for answering I'll try it and come back to you...is it gonna work on 6.3 ?

Top
#233003 - 03/15/03 11:18 AM Re: [6.2] Popup Graemlin Panel [Re: dude_demon]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
As far as I know. I haven't seen any major changes in 6.3 that would break the hacks here, and some of the hacks on this site will be in 6.3 <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#233004 - 03/18/03 04:52 PM Re: [6.2] Popup Graemlin Panel [Re: jacksonm99]
smilesforu Offline
Junior Member

Registered: 01/31/02
Posts: 676
My panel animated gifs stop animating when I click on one. Is there a way to keep the working after I click? Other than refreshing?

Top
#233005 - 03/18/03 04:59 PM Re: [6.2] Popup Graemlin Panel [Re: Kelly]
dimopoulos Offline
Kahuna

Registered: 08/18/02
Posts: 1271
Loc: Vienna, Austria
Marty, <br /><br />This happens to mine as well. I think that the java script that puts the code for the animated graemlin to the text box interferes with the gifs animating. This was still an issue for me when the panel was not installed and the graemlins were below the text box.
_________________________
Nikos

Top
#233006 - 03/18/03 07:56 PM Re: [6.2] Popup Graemlin Panel [Re: Hal_dup2]
smilesforu Offline
Junior Member

Registered: 01/31/02
Posts: 676
Nikos thats from refreshing my memory and it was a problem then for me as prior to the panel.

Top
#233007 - 04/07/03 03:11 PM Re: [6.2] Popup Graemlin Panel [Re: sjsaunders]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Updated this for JustDave (I know he won't mind <img src="/forum/images/graemlins/wink.gif" alt="" /> ).<br /><br />Fixed a minor issue where "More>>>" appeared way down the page.... the more greamlins you had, the further down it appeared from the graemlins.<br /><br />Also added some documentation to the instructions. <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#233008 - 04/10/03 12:10 AM Re: [6.2] Popup Graemlin Panel [Re: Kelly]
Lisa_P Offline
Enthusiast

Registered: 03/09/02
Posts: 329
Loc: Michigan, USA
[]Smilesforu said: <br />My panel animated gifs stop animating when I click on one. Is there a way to keep the working after I click? Other than refreshing? [/] <br /> <br />You can change 1 line in graemlinpanel.php and fix this. <br /> <br />Find this: <br />
Code:
&lt;a href="[:"red"]javascript:void(0)[/]" onclick="updatePost(' $graemlincode')"&gt;
<br /> <br />and change it to: <br />
Code:
&lt;a href="[:"red"]#[/]" onclick="updatePost(' $graemlincode')"&gt;
<br /> <br />That should keep your laughs laughing and your bananas dancing. <img src="/forum/images/graemlins/smile.gif" alt="" />


Edited by Lisa_P (04/10/03 02:03 AM)
_________________________
[:"red"]Lisa[/]

Top
#233009 - 04/10/03 01:00 AM Re: [6.2] Popup Graemlin Panel [Re: JacquiL]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
Hey Lisa,<br />I tried your change and all I got was a blank Graemlin Panle (nothing on the page) <img src="/forum/images/graemlins/frown.gif" alt="" />
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#233010 - 04/10/03 01:50 AM Re: [6.2] Popup Graemlin Panel [Re: jacksonm99]
Lisa_P Offline
Enthusiast

Registered: 03/09/02
Posts: 329
Loc: Michigan, USA
Let me look and see if I have other changes made as well. <img src="/forum/images/graemlins/blush.gif" alt="" />
_________________________
[:"red"]Lisa[/]

Top
#233011 - 04/10/03 02:10 AM Re: [6.2] Popup Graemlin Panel [Re: jacksonm99]
Lisa_P Offline
Enthusiast

Registered: 03/09/02
Posts: 329
Loc: Michigan, USA
<img src="/forum/images/graemlins/cry.gif" alt="" /> Other than not typing the file name correctly <img src="/forum/images/graemlins/tongue.gif" alt="" /> (it should be graemlinpanel.php obviously), everything else looks the same. (I do have the "Close window" button added, but it doesn't affect anything when I remove it either.) <br /> <br />I'll attach a copy of my graemlinpanel.php file. <img src="/forum/images/graemlins/smile.gif" alt="" />


Attachments
75194-lisa\'s_graemlinpanel.txt (32 downloads)



Edited by Lisa_P (04/10/03 02:25 AM)
_________________________
[:"red"]Lisa[/]

Top
#233012 - 04/10/03 04:28 AM Re: [6.2] Popup Graemlin Panel [Re: JacquiL]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
You're file worked like a champ! All I had to do was take out the script for the close button (I never added it). <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />I have another question for you since you know java infinately better than I do. Attached is a screen shot of my Graemlin panel. Notice how the word "instant Graemlins" is indented down a line, almost like there is a br or paragraph tag dropping it down. I've been driving myself crazy trying to figure out why the text drops down a line, but I don't see what's causing it. There's nothing in the language file that would do it, and I don't see anything in the graemlinpanel.php file that could cause it <img src="/forum/images/graemlins/frown.gif" alt="" />


Attachments
75195-graemlin.gif (40 downloads)

_________________________
Da LAN Tech

Threads Dev Moderator

Top
#233013 - 04/21/03 07:29 PM Re: [6.2] Popup Graemlin Panel [Re: JacquiL]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
I believe the reason behind not using the # character in the hyper link was because the Mac browser(s)? IE in particular??? wouldn't work. (or I could be completely wrong... lol) (not a first time either) LoL <img src="/forum/images/graemlins/wink.gif" alt="" />
_________________________
~Dave
ChattersOnline.com

Top
#233014 - 04/22/03 03:11 PM Re: [6.2] Popup Graemlin Panel [Re: sjsaunders]
chiefmonkey Offline
Newbie

Registered: 04/07/03
Posts: 15
Loc: Shangri-La
I installed it, and then when I went to edit the number in the admin panel, I got this:<br /><br />Fatal error: Call to undefined function: get_input() in /home/elazulsp/public_html/ep/admin/doedittheme.php on line 39<br /><br />My doedittheme.php code looks like this:<br /><br /> $themeextras = str_replace("<br>","\n",$themeextras);<br /><br />and the setup tells me to replace this:<br /><br /> $themeextras = get_input("themeextras","post");<br /> <br />with this:<br /><br /> $themeextras = get_input("themeextras","post");<br /> $max_graemlins = get_input("max_graemlins","post");

Top
#233015 - 04/22/03 03:32 PM Re: [6.2] Popup Graemlin Panel [Re: nuno]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
Your probably installing this on an older version that does not have the get_input function. Try removing the get_input line and see if it works without it. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
~Dave
ChattersOnline.com

Top
#233016 - 04/22/03 03:37 PM Re: [6.2] Popup Graemlin Panel [Re: sjsaunders]
chiefmonkey Offline
Newbie

Registered: 04/07/03
Posts: 15
Loc: Shangri-La
$themeextras = str_replace("<br>","\n",$themeextras);<br />// $max_graemlins = get_input("max_graemlins","post");<br /><br />I commented out the $max_graemlins line and left the $themeextras line the old way.<br /><br />Doesn't work. <img src="/forum/images/graemlins/frown.gif" alt="" />

Top
#233017 - 04/23/03 09:09 PM Re: [6.2] Popup Graemlin Panel [Re: nuno]
RangerDan Offline
Newbie

Registered: 04/03/03
Posts: 16
Loc: The High Desert
I installed on ubbthreads 6.2.3 as instructed and if I change my Max Graemlins to any number it still displays all the graemlins in the post page.<br />If I leave the Max Gramlins in admin blank. it takes out all graemlins and displays the more>>> popup link..<br /><br />any clues? <br /><br />Daniel Fielden
_________________________
Daniel Fielden

Top
#233018 - 04/23/03 09:15 PM Re: [6.2] Popup Graemlin Panel [Re: ]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
A couple things I'd check. <br /><br />I'd manually check your theme.inc.php file to see if you see the variable name and number stored in there.... make sure it's getting written to the file.<br /><br />If all there is OK, then the problem is most likly with the modifications to ubbt.inc.php... most specifically the loop that lists them. I'd verify those steps were correct, maybe even start with a clean ubbt.inc.php and try it again, to narrow down the problem.
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#233019 - 04/24/03 09:02 PM Re: [6.2] Popup Graemlin Panel [Re: Daine]
RangerDan Offline
Newbie

Registered: 04/03/03
Posts: 16
Loc: The High Desert
I checked what you said to check, yes the variable name and number were in there.<br /><br />I then went back to original files, and did the modifications from scratch..<br /><br />even took out panelgen because it doesn't work for me either. <br /><br />anyway.. without panelgen now I get this error..<br /><br />Parse error: parse error, unexpected T_CLASS, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /usr/home/southernsecrets/htdocs/ubbthreads/ubbt.inc.php on line 1669<br /><br />Fatal error: Call to undefined function: getmicrotime() in /usr/home/southernsecrets/htdocs/ubbthreads/main.inc.php on line 16<br /><br />I'm going back to all original files..<br />Hope you can help me with this.. <br />This seems too easy to install to have these problems..<br /><br />Daniel Fielden
_________________________
Daniel Fielden

Top
#233020 - 05/12/03 05:38 PM Re: [6.2] Popup Graemlin Panel [Re: ]
Storm_dup1 Offline
Member

Registered: 08/03/02
Posts: 263
Loc: Somewhere above Texas
Has anyone attempted to modify this so it works with 6.3? I have tried unsuccessfully for 2 days... It works just fine... However it caused a problem in showflat.php when you're viewing new messages. It won't hop to the new message but only to the beginning of the thread. I miss this big time.... <img src="/forum/images/graemlins/embarassed.gif" alt="" />
_________________________
Some people read their stars..... I choose to write my own

Top
#233021 - 05/16/03 12:07 PM Re: [6.2] Popup Graemlin Panel [Re: ]
Storm_dup1 Offline
Member

Registered: 08/03/02
Posts: 263
Loc: Somewhere above Texas
Any clues what would cause the not going to the new message?? Gimme a clue and I'll try and fix it for us... Just remember.... try being the keyword.... <img src="/forum/images/graemlins/laugh.gif" alt="" />
_________________________
Some people read their stars..... I choose to write my own

Top
#233022 - 05/16/03 12:15 PM Re: [6.2] Popup Graemlin Panel [Re: ]
Astaran Offline
Addict

Registered: 12/21/00
Posts: 1545
Loc: Germany
This hack doesn't modify the showflat.php, so i doubt that this hack is the cause for your problem.
_________________________
Running a community? -> Keep informed and take it to the next level

Top
#233023 - 05/16/03 04:02 PM Re: [6.2] Popup Graemlin Panel [Re: -Fusion-]
Storm_dup1 Offline
Member

Registered: 08/03/02
Posts: 263
Loc: Somewhere above Texas
Thanks Astaran... I hadn't tried it since upgrading to 6.3b4 but who knows... Maybe I had something else in there too. Oh well... It's working under 6.3... <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Some people read their stars..... I choose to write my own

Top
#233024 - 11/04/03 12:48 PM Re: [6.2] Popup Graemlin Panel [Re: ]
TheInsider Offline
Journeyman

Registered: 03/16/03
Posts: 124
Loc: Baghdad, Iraq
Just letting everyone know that this works just fine in UBBT 6.4 also.
_________________________
Always looking for that next great thing...

My site: www.iraqiinsider.com

Top
Page 1 of 5 1 2 3 4 5 >



Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks